<!DOCTYPE html>
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<xht:input id="test"></xht:input>
<script>
var source = document.getElementById('test');
var imported = document.importNode(source, true);
shouldBe('imported.constructor', 'source.constructor');
</script>
</body>
</html>
